	<div class="path">
			
	<a href="index.php">Dashboard</a> > <a href="#">System Settings</a> > <a href="index.php?module=systemonoff">System On/Off</a></div>

  <div class="main">		
		
		<div class="content">
		  <h1>System On/Off</h1>
          <div class="descr">Use the below to enabled or disable the system.</div>
<h2>On/Off Switch</h2>
<form id="systemonoff" name="systemonoff" method="post" action="index.php?do=systemonoff">
  <label>
  <select name="systemenabled" id="systemenabled">
    <option value="1" selected="selected">Online</option>
    <option value="0">Offline</option>
  </select>
  </label>
  <h2>Offline Message</h2>
  <?php 
    $resultname=mysql_query("select * from system");
    $row=mysql_fetch_array($resultname);
?>
  <label>
    <textarea name="systemoffmsg" id="systemoffmsg" cols="65" rows="5"><?php echo $row['SystemOffMsg'];?></textarea>
    </label>
    <label>
    <div class="path"><input type="submit" name="button" id="button" value="Update Settings" /></div></label></form>
</div>